#!/bin/sh

export GTK_IM_MODULE=fcitx5
export XMODIFIERS='@im=fcitx5'
export QT_IM_MODULE=fcitx5
export XIM_PROGRAM=/usr/bin/fcitx5

# config
setxkbmap us -variant intl
xset r rate 200 60
xset m 0 0
xrandr --output HDMI-A-0 --pos 0x240
xrandr --output HDMI-A-1 --pos 1920x0
#xrandr --output HDMI-A-0 --mode 1920x1080 --pos 0x240 --rate 75.40
#xrandr --output HDMI-A-1 --mode 2560x1440 --pos 1920x0 --rate 144.01

# run
#xautolock -time 10 -locker slock &
#[ $PERSONALDEVICE -eq 0 ] && xinput --set-prop 'SteelSeries Kana v2 Gaming Mouse' 'libinput Accel Profile Enabled' 0, 1 &
#[ $PERSONALDEVICE -eq 0 ] && xsetwacom --set "Wacom Intuos S Pen stylus" Area 0 0 11400 7125 &
#[ $PERSONALDEVICE -eq 0 ] && xinput map-to-output $(xinput | grep "Pen stylus" | cut -f 2 | cut -c 4-5) HDMI-A-1 &
#fcitx5 &
slstatus &
xbindkeys -p &
feh --bg-fill --randomize $($HOME/.config/walls/random-theme) &
pipewire &
pipewire-pulse &
